#ifndef HEADER_SCORE
#define HEADER_SCORE

#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>

#include "Affichable.h"
#include "glob.h"

class Pion;

class Score : public Affichable{
public :
	Score(Score_struct score , SDL_Surface *ecran);
    static Score_struct lireScore(FILE *f);
    static Score_struct lireScore(FILE *f , int *nbOctet);
    static void saveScore(FILE *f , Score_struct score);

    void afficher();
    void decaler(int nombre);
    SDL_Rect getPosition();

private:
	SDL_Color coul_noir;
	SDL_Surface *text;
	int y;

};


#endif
